/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Common;

import javax.swing.*;
import java.awt.event.*;
/**
 *
 * @author localadmin
 */
public class MessageBox 
{  
    private static MessageBox _instance =null;
    
    private MessageBox()
    {
    }
    
    public static MessageBox GetInstance()
    {
        if(_instance==null)
        {
            _instance=new MessageBox();
        }
        return _instance;
    }
    
    public void Show(String s)
    {
        JOptionPane.showMessageDialog(new JFrame(),s);
    }
}